package com.xz.knowledgeDuplication.pattern.builder;

/**
 * 哈罗单车创建者
 *
 * @author 召
 * @date 2022-03-06 16:34:25
 */
public class HaLuoBuilder extends Builder{
    @Override
    public void buildFrame() {
        bike.setFrame("碳纤维");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("橡胶");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
